package com.ruoyi.system.mapper;

import java.util.List;
import com.ruoyi.system.domain.BieHouseholder;

/**
 * 住户Mapper接口
 * 
 * @author zxl
 * @date 2021-05-03
 */
public interface BieHouseholderMapper 
{
    /**
     * 查询住户
     * 
     * @param holderId 住户ID
     * @return 住户
     */
    public BieHouseholder selectBieHouseholderById(String holderId);

    /**
     * 查询住户列表
     * 
     * @param bieHouseholder 住户
     * @return 住户集合
     */
    public List<BieHouseholder> selectBieHouseholderList(BieHouseholder bieHouseholder);

    /**
     * 新增住户
     * 
     * @param bieHouseholder 住户
     * @return 结果
     */
    public int insertBieHouseholder(BieHouseholder bieHouseholder);

    /**
     * 修改住户
     * 
     * @param bieHouseholder 住户
     * @return 结果
     */
    public int updateBieHouseholder(BieHouseholder bieHouseholder);

    /**
     * 删除住户
     * 
     * @param holderId 住户ID
     * @return 结果
     */
    public int deleteBieHouseholderById(String holderId);

    /**
     * 批量删除住户
     * 
     * @param holderIds 需要删除的数据ID
     * @return 结果
     */
    public int deleteBieHouseholderByIds(String[] holderIds);
}
